package com.itheima.mapper1;

import com.itheima.pojo.SetmealDish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author wuyiqiang
 * @2022/6/18 19:06
 */
@Mapper
public interface SetmealDishClientMapper {
    /**
     * 根据菜品id查询菜品
     * @param setmealId
     * @return
     */
    @Select("select * from setmeal_dish where setmeal_id=#{setmealId};")
    List<SetmealDish> selectByDishId(String setmealId);
}
